package com.crayon.cardbiz.entry.item;

import java.util.Arrays;

import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.util.Log;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;

import com.crayon.util.GDB;

public class FragmentItemDummy extends ListFragment{
//	@Override
	//		public View onCreateView(LayoutInflater inflater, ViewGroup container,
	//				Bundle savedInstanceState) {
	//			View v = inflater.inflate(R.layout.fragment_pager_list, container, false);
	//			View tv = v.findViewById(R.id.text);
	//			return v;
	//		}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		GDB.log(getClass(), ">>>>FragmentNoticeList ");
		setListAdapter(new ArrayAdapter<String>(getActivity(),
				android.R.layout.simple_list_item_1, Arrays.asList("..Empty..")));
		super.onActivityCreated(savedInstanceState);

	}

	@Override
	public void onListItemClick(ListView l, View v, int position, long id) {
		Log.i("FragmentList", "Item clicked: " + id);
	}
}
